<%-- 
    Document   : login
    Created on : Sep 9, 2013, 1:18:15 AM
    Author     : Thai Ha Cong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="Member Login Page">
        <title>Login Page - Online Marketing System</title>
        <link href="<%= request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
        <s:head />
    </head>
    <body>
        <div class="headerbg">
            <%@include file="/include/iHeader.jsp" %>
        </div>
        <div class="contentbg">
            <div class="content">
                <div class="registerbg">
                    <div class="loginForm">
                        <h1>Existing Customer - Login</h1>
                        <p><s:actionmessage /></p>
                        <s:form action="login" namespace="/Member">
                            <s:textfield name="username" label="Username" size="30" />
                            <s:password name="password" label="Password" size="30" />
                            <table>
                                <tr>
                                    <td>
                                        <s:reset value="Reset" cssStyle="width: 96px" theme="simple" />
                                    </td>
                                    <td>
                                        <s:submit value="Login" cssStyle="width: 96px; margin-left: 80px" theme="simple" />
                                    </td>
                                </tr>
                                <!--<tr>-->
                                    <!--<td colspan="2"><s:actionerror /></td>-->
                                <!--</tr>-->
                            </table>
                        </s:form>
                        <p><s:actionerror /></p>
                    </div>
                    <div class="registerLink">
                        <h1>New Customer - Sign up</h1>
                        <s:url action="registerForm" var="registerUrl"></s:url>
                        <s:a href="%{registerUrl}" cssClass="" title="Click to Register">Create a New Member Account</s:a>
                    </div>
                </div>
            </div>
        </div>
        <div class="footerbg">
            <%@include file="/include/iFooter.jsp" %>
        </div>
    </body>
</html>
